package com.core.plugin.quartz.job;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.core.plugin.quartz.worker.UpdateStatsWorker;
import com.core.plugin.quartz.worker.Worker;

public class UpdateStatsJob implements Job {

	private static final Logger log = LoggerFactory.getLogger(UpdateStatsJob.class);
	
	@Override
	public void execute(JobExecutionContext context) throws JobExecutionException {
		log.debug("Running update stats job");
		Worker worker = new UpdateStatsWorker();
		worker.execute();
	}

}
